<?php
class widget_support extends CWidget {
  public function run() {
    
    $supports = Support::model()->getTopSupports(1,2);   
    $contacts = Contact::model()->getContacts(2);     
    $this->render('widget_support', array(
      'supports' => $supports, 'contacts'=>$contacts
    ));
    
  }
}
?>